<?php

$hfjy_con = file_get_contents("http://m.hfjy.com/");
$hfjy_con = preg_replace('/<header\s+class=\"u-header([^>]+)?\">.*<\/header>/isU', "", $hfjy_con);
$hfjy_con = preg_replace('/<footer\s+class=\"footer ([^>]+)?\">.*<\/footer>/isU', "", $hfjy_con);
$hfjy_con = preg_replace('/<div\s+class=\"foot-warp ([^>]+)?\">.*<\/div>/isU', "", $hfjy_con);
$hfjy_con = preg_replace('/<div\s+id=\"banner\"\s+class=\"swiper-container\"([^>]+)?>.*<\/div>/isU', "", $hfjy_con);
$hfjy_con = preg_replace('/<div\s+class=\"swiper-slide(\s+)?\"([^>]+)?>.*<\/div>/isU', "", $hfjy_con);
print_r( $hfjy_con );
